{% extends 'student_management/base.html' %}

{% block content %}
<div class="card">
    <div class="card-header">
        <h3>删除学生</h3>
    </div>
    <div class="card-body">
        <p>您确定要删除学生 "{{ object.name }}" 吗？</p>
        <form method="post">
            {% csrf_token %}
            <button type="submit" class="btn btn-danger">确认删除</button>
            <a href="{% url 'student-list' %}" class="btn btn-secondary">取消</a>
        </form>
    </div>
</div>
{% endblock %} 